import React from 'react'
import { useRoutes } from 'react-router-dom'
import routes from './router'
// import Mylayout from './layout/Mylayout'

export default function App() {
  // 注册
  let myRoute = useRoutes(routes)
  return (
    <>
      {myRoute}
    </>
  )
}
